# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Andrew Krawchyk <krawch_a@denison.edu>, Marco Lima <cipparello gmail com>

pkgname=librpcsecgss
pkgver=0.19
pkgrel=8
pkgdesc="Library for RPCSECGSS support"
arch=('x86_64')
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
license=('GPL')
depends=('glibc' 'krb5' 'libgssglue')
makedepends=('pkg-config' 'autoconf')
source=("http://www.citi.umich.edu/projects/nfsv4/linux/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('b45ed565bdc3099023aa35830ec92997')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

check() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make check
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="$pkgdir/" install
}
